package edu.uclmgmu.bacteriosec.rmiserver;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Vector;

public interface IListener extends Remote {
	public void updateNumberOfCalls(String joinPointName) throws RemoteException;
	public int getNumberOfCallInTurn(String joinPointName) throws RemoteException;
	public int getNumberOfCurrentCall(String joinPointName) throws RemoteException;
	public void updateNumberOfCurrentCall(String joinPointName) throws RemoteException;
	public String getCurrentjoinPoint() throws RemoteException;
	public int getNumberOfCallsToJP(String jpFile) throws RemoteException;
	public void saveCurrentJoinPoint(String jpName) throws RemoteException;
	public void createFileForCallInTurn(String joinPointName, int callInTurn) throws RemoteException;
	public int readNumberOfCalls(String jpName) throws RemoteException;
	public void createFileForCurrentCall(String joinPointName, int currentCall) throws RemoteException;
	public Vector<String> loadFilesNumberOfCalls() throws RemoteException;
}
